//
//  PersonDetailsViewController.swift
//  make_love
//
//  Created by 温仲斌 on 2018/7/25.
//  Copyright © 2018年 aozibei technology co., LTD. All rights reserved.
//

import UIKit

class HomePersonDetailsViewController: UIViewController {
    @IBOutlet weak var top: NSLayoutConstraint!
    
    @IBOutlet weak var liwu_btn: UIButton!
    @IBOutlet weak var tableView: HomePersonDetailsTableView!
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
        self.view.backgroundColor = UIColor.white
        let right_btn = UIBarButtonItem.init(image: IMG(imStr: "more"), style: UIBarButtonItemStyle.done, target: self, action: #selector(more))
        self.navigationItem.rightBarButtonItem = right_btn
        
        self.view.bringSubview(toFront: liwu_btn)
    }
    
    @objc func more() {
//        UIView.alert_table.data { (v) in
//            let v = v as! AlartView
//            v.titles = ["关注","拉黑", "举报"]
////            v.title = "我是标题"
//        }.showInWindow()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
//    override func viewWillAppear(_ animated: Bool) {
//        super.viewWillAppear(animated)
//        self.navigationController?.navigationBar.alpha = 1
//    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
